package com.yilin.tms.core.components.repository;
import com.yilin.tms.core.entity.system.handle.OperateLog;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;


/**
 * @author Administrator
 */
@Component
public interface OperateLogRepository extends MongoRepository<OperateLog, String> {

    void deleteByIdIn(List<String> ids);

    void deleteByOptTimeBetween(Date startTime, Date endTime);

}
